/*
 * To change this template, choose Bind | Templates
 * and open the template in the editor.
 */
package bind;

import javax.swing.JTable;
import org.jdesktop.beansbinding.Binding;
import org.jdesktop.beansbinding.BindingGroup;


public class Bind {

    
    public static void updateJTable(JTable table, BindingGroup bindingGroup, String bindName) { 
        
        Binding b = bindingGroup.getBinding(bindName);
        b.unbind();
        b.bind();
        table.repaint();
        
    }
    
}

